<admintpl file="headerEx"/>
<link href="__PUBLIC__/js/artDialog/skins/default.css" rel="stylesheet" />
<title>添加URL规则</title>
<!--responsive table-->
<link href="__PUBLIC__/TciocEx/css/table-responsive.css" rel="stylesheet"/>
<!--ios7-->
<link rel="stylesheet" type="text/css" href="__PUBLIC__/TciocEx/js/ios-switch/switchery.css" />

<!--icheck-->
<link href="__PUBLIC__/TciocEx/js/iCheck/skins/minimal/minimal.css" rel="stylesheet">
<link href="__PUBLIC__/TciocEx/js/iCheck/skins/minimal/red.css" rel="stylesheet">
<link href="__PUBLIC__/TciocEx/js/iCheck/skins/minimal/green.css" rel="stylesheet">
</head>
<body class="sticky-header">
<section>
	<!-- main content start-->
	<div class="full-content">
		<!-- body wrapper start -->
		<div class="wrapper">
			<div class="row">
				<div class="col-sm-12">
					<section class="panel">
						<header class="panel-heading custom-tab turquoise-tab">
							<ul class="nav nav-tabs">
								<li><a href="{:U('setting/site')}"><i class="fa fa-list-ul"></i> 网站信息</a></li>
								<li><a href="{:U('route/index')}"><i class="fa fa-list-alt"></i> URL美化</a></li>
								<li class="active"><a href="{:U('route/add')}"><i class="fa fa-plus"></i> 添加URL规则</a></li>
							</ul>
						</header>
						<div class="panel-body">
							<div class=" form">
								<form class="cmxform form-horizontal adminex-form js-ajax-form" id="commentForm" method="post" action="{:U('route/add_post')}"      novalidate="novalidate" enctype="multipart/form-data">

								<fieldset>
									<div class="form-group">
										<label   for="full_url" class="control-label col-lg-2" >原始网址(*)</label>
										<div class="col-lg-10">
											<input type="text"  class=" form-control" id="full_url" name="full_url" value="" minlength="1" required="">
										</div>
									</div>
									<div class="form-group">
										<label  for="url" class="control-label col-lg-2" >显示网址(*)</label>
										<div class="col-lg-10">
											<input type="text"   class=" form-control" id="url"  name="url" value="" minlength="1" required="">
										</div>
									</div>
									<div class="form-group">
										<label  for="status" class="control-label col-lg-2"  >是否启用</label>
										<div >
											<select name="status"  class="input-lg"  id="status" style="padding: 5px 16px;height: auto" >
												<option value="1">启用</option>
												<option value="0">禁用</option>
											</select>
										</div>
									</div>
									<!--<div class="form-group">-->
										<!--<label for="cstatus" class="control-label col-lg-2">是否启用</label>-->
										<!--<div>-->
											<!--&nbsp;禁用 <input type="checkbox" class="js-switch" checked=checked id="cstatus" name="status" data-switchery="true" style="display: none;"> 启用-->
										<!--</div>-->
									<!--</div>-->
								</fieldset>

									<div class="form-group">
										<div class="col-md-12 text-center clearfix" style=" width:auto;padding-left: 25%;padding-top: 20px;">
											<button class="btn btn-primary js-ajax-submit" type="submit">添加</button>
											<a href="javascript:history.back(-1);" class="btn btn-default">返回</a>
										</div>
									</div>
								</form>
							</div>

						</div>
					</section>

				</div>
			</div>
		</div>
		<!--footer section start-->
		<footer>
			<admintpl file="copyright"/>
		</footer>
		<!--footer section end-->
	</div>
	<!-- main content end-->
</section>

<script src="__PUBLIC__/TciocEx/js/jquery-1.10.2.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/jquery-ui-1.9.2.custom.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/jquery-migrate-1.2.1.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/bootstrap.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/modernizr.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/jquery.nicescroll.js"></script>

<!--ios7-->
<script src="__PUBLIC__/TciocEx/js/ios-switch/switchery.js" ></script>
<script src="__PUBLIC__/TciocEx/js/ios-switch/ios-init.js" ></script>

<!--icheck -->
<script src="__PUBLIC__/TciocEx/js/iCheck/jquery.icheck.js"></script>
<script src="__PUBLIC__/TciocEx/js/icheck-init.js"></script>
<!--common scripts for all pages-->

<script type="text/javascript" src="__PUBLIC__/TciocEx/js/jquery.validate.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/validation-localization/messages_zh.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/validation-init.js"></script>
<script src="__PUBLIC__/TciocEx/js/scripts.js"></script>

</body>
</html>
